package kr.hkit.powerjava.chapter06;

public class Sosu {
	public static void main(String[] args) {

		int count = 0;

		for (int i = 2; i < 100; i++){
			for (int k = 2; k < i; k++){
				if (i % k == 0){
					count++;
				}
			}
				
			if (count == 0) {
				System.out.println(i + " ");
			} else
				count = 0; 
		}
	} 
}
